package shop.mapper;

import common.model.shop.Shop;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

@Mapper
public interface ShopMapper extends BaseMapper<Shop> {
    // 分页查询
    Page<Shop> selectPage(Page<Shop> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<Shop> queryWrapper);
}
